package com.tdkj.service.shop;

import java.util.List;

import com.tdkj.model.shop.BeanCreditRating;
import com.tdkj.service.IBaseService;

public interface IBeanCreditRatingService extends IBaseService {
	
	BeanCreditRating addCreditRating(String name, Integer scoreIntervalLower, Integer scoreIntervalUpper, String imgUrl, Integer ordinal);
	void updateCreditRating(Long id, String name, Integer scoreIntervalLower, Integer scoreIntervalUpper, String imgUrl, Integer ordinal);
	void deleteCreditRating(Long id);
	
	BeanCreditRating getCreditRating(Long id);
	List<BeanCreditRating> getAllCreditRatings();
	
	void updateUser(Long userId);
	void updateShop(Long shopId);
}
